<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=">
		<title><?php echo (C("APPENAME")); ?>-<?php echo (C("APPNAME")); ?></title>
		<!-- easyui CSS 文件 -->
<link rel=icon type="image/x-icon" href="/degs/Public/images/favivon.ico" >
<!-- <link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/easyui/demo/demo.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icon_my.css">
<link href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-all.css" type="text/css" rel="stylesheet"> -->

<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/demo/demo.css">
<link rel="stylesheet" type="text/css" href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icon_my.css">
<link href="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-all.css" type="text/css" rel="stylesheet">
<link href="/degs/Public/css/mystyle.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="/degs/Public/Huploadify-master/Huploadify.css" />
<link rel="stylesheet" href="/degs/Public/sign/signStyle.css" />
<link href="/degs/Public/handsontable/6.2.2/handsontable.full.min.css" rel="stylesheet">

<!-- 方便在纯js中引用相对路径 -->
<script type="text/javascript">
        var URL = "/degs/index.php/Home/Index";
        var APP = "/degs/index.php";
        var PUBLIC = "/degs/Public";
        var ROOT = "/degs";
        var GROUP_ID = "<?php echo ($_SESSION['group_id']); ?>";
        var UID = "<?php echo ($_SESSION['uid']); ?>";



function show_zds(name,text,icon){
    if($('#tab').tabs('exists', text)){
                    $('#tab').tabs('select', text);    
                } else {
    $('#tab').tabs('add',{ 
    title:text, 
    iconCls:icon,  
    fit:true,
    href:'/degs/index.php/'+name,
    loadingMessage:text+'正在载进中…',
    closable:true  
});
    }
}

</script>

<!-- <link href="/degs/Public/lightbox/css/lightbox.css" rel="stylesheet" type="text/css" /> -->

 				
</head>


<body id="mainLay" class="easyui-layout">
<!--遮罩显示start-->
	<div id='Loading' style="position:absolute;z-index:1000;top:0px;left:0px;width:100%;height:100%;background:#DDDDDB url('/degs/Public/images/bodybg.jpg');text-align:center;padding-top: 20%;">
	<h1>
		
		<img src="/degs/Public/images/logo.png" height="150px" alt="logo" /><br>
		<img src='/degs/Public/images/loading.gif'/><font color="#15428B">正在加载中···</font>
	</h1>
</div>
<!--遮罩显示end-->
	 
	<script type="text/javascript" src="/degs/Public/{$Think.config.SYS_EASYUI}/jquery.min.js"></script>

<script type="text/javascript" src="/degs/Public/{$Think.config.SYS_EASYUI}/jquery.easyui.min.js"></script>
<script src="/degs/Public/{$Think.config.SYS_EASYUI}/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/degs/Public/js/myjs.js" type="text/javascript"></script>

<!-- jQuery官方提供迁移辅助插件 -->
<script src="/degs/Public/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<script src="/degs/Public/js/jquery.jqprint-0.3.js" type="text/javascript"></script>

<script type="text/javascript" src="/degs/Public/{$Think.config.SYS_EASYUI}/expand/jquery-easyui-datagridview/datagrid-detailview.js"></script>

<script src="/degs/Public/js/e-smart-zoom-jquery.min.js" type="text/javascript"></script>
<script src="/degs/Public/js/picview.js" type="text/javascript"></script>
<script src="/degs/Public/Huploadify-master/jquery.Huploadify.js"></script>
<script src="/degs/Public/js/viewer.min.js"></script>

<script src="/degs/Public/js/datagridtip.js"></script>
<script src="/degs/Public/handsontable/6.2.2/handsontable.full.min.js"></script>
<script type="text/javascript" src="/degs/Public/handsontable/6.2.2/languages/zh-CN.js"></script>

<!-- <script type="text/javascript" src="/degs/Public/ueditor/ueditor.config.js"></script>

<script type="text/javascript" src="/degs/Public/ueditor/ueditor.all.js"></script> -->

<!-- <script type="text/javascript" src="/degs/Public/js/jquery-barcode.js"></script> -->


<!-- <script type="text/javascript" src="/degs/Public/sign/jquery-sign.mini.js"></script> -->
	<div id="iconDialog" class="easyui-dialog" title="My Dialog" style="width:675px;height:399px;"   
        data-options="iconCls:'icon-standard-folder-page',buttons:'#iconDialog_tool',closed:true,resizable:true,modal:true,closable:true">   
    

	<div class="easyui-layout" data-options="fit:true">   
	  <div id="content" data-options="region:'center',border:false,title:'',href:'/degs/index.php/Admin/Public/icon?page=1',loadingMessage:'正在载入图标……'" style="padding:5px;">
	  </div> 
	    <div data-options="region:'south',title:'',split:false,border:false" style="height:35px;" >    	
			<div class="easyui-pagination" style="border:1px solid #ccc;"
			    data-options="total: 1008,pageSize: 250,pageList: [10,20,50,250],onSelectPage: function(pageNumber,pageSize){$('#content').panel('refresh', '/degs/index.php/Admin/Public/icon?page='+pageNumber+'&pageSize='+pageSize);}">
			</div>
	    </div>   
	  
	</div>  



</div> 
<div id="iconDialog_tool">
	<div class="tool_tip" id="myIcon">请选择合适的图标</div>
	<input type="hidden" id='aIcon'/>
	<input type="hidden" id='inputIcon'/>
	<input type="hidden" id='iconVal'/>
	<a href="#" id="modifyok" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="setIcon()">确认</a>
	<a href="#" class="easyui-linkbutton"
		data-options="iconCls:'icon-cancel'"
		onclick="javascript:$('#iconDialog').dialog('close')">取消</a>
</div> 
    <div data-options="region:'north',title:'',split:true,hideCollapsedContent:false" class="north_title">

	<table style="width:100%;cellspacing:0px;cellpadding:0px;border:'0px';align:'center'">
		<tbody>
			<tr height="50">
				<td width="150" align="center">
					<img src="/degs/Public/images/logo.png" height="50px" alt="logo" />
				</td>
				<td valign="middle" align="center">
							<span style="font-size:18pt;font-family:华文隶书,黑体,宋体,华文琥珀,隶书;color:#0E2D5F;"><?php echo (C("CONPANY")); ?>
					</span>&nbsp;<b style="font-size:11pt;font-style:blod"><?php echo (C("APPNAME")); ?>&nbsp;<?php echo (C("APPVERSION")); ?></b>

					<br><b>『 <?php echo (C("APPURL")); ?>,&nbsp; <?php echo (C("APPVERSION")); ?> 』<b>

    </b></b></font></font>
				</td>
				<td style="width: 300px;valign:'top';align:'center">
					<table style="width:100%;cellspacing:0px;cellpadding:0px;border:'0px';align:'center'">
						<tbody>

							<!--通过session进行判断-->
							<?php if(!empty($_SESSION[C('USER_AUTH_KEY')])): ?><tr>
									<td rowspan="2">

									<?php if($_SESSION['avatar']==''): ?><img src="/degs/Public/images/avata.png" class="account-avator-bg easyui-tooltip" title="点击修改用户信息" onclick="showUser()" style="width:40px;height: 40px;"/> 
										<?php else: ?>
										 <img src="/degs/Public/<?php echo ($_SESSION['avatar']); ?>" class="account-avator-bg  easyui-tooltip" title="点击修改用户信息" onclick="showUser()" style="width:40px;height: 40px;"/><?php endif; ?>


									</td>
									<td style="color:#0E2D5F">

										<a href="javascript:void(0)" id="mb" class="easyui-menubutton"
										   data-options="menu:'#mmss',iconCls:'icon-standard-user-suit'">权限</a>
										<div id="mmss" style="width:150px;">

											<?php if(is_array($zname)): $i = 0; $__LIST__ = $zname;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div data-options="iconCls:'icon-standard-user-green'"><?php echo ($vo); ?></div><?php endforeach; endif; else: echo "" ;endif; ?>
										</div>

										<!--【<?php echo ($_SESSION['zname']); ?>:<?php echo ($_SESSION[ 'unickname']); ?>| IP:<?php echo ($_SERVER[ "REMOTE_ADDR"]); ?>】-->
										【<?php echo ($_SESSION[ 'unickname']); ?>| IP:<?php echo ($_SERVER[ "REMOTE_ADDR"]); ?>】



									</td>
								</tr>
								<tr>
									<td>
										
										<a  href="#" class="easyui-linkbutton" data-options="iconCls:'icon-standard-lock-edit',plain:true" onclick='changePW_show()'>修改密码</a>  

									
										<a  href="#" class="easyui-linkbutton" data-options="iconCls:'icon-standard-door-out',plain:true" onclick='loginout_show()'>退出系统</a> 
									</td>
								</tr>
								<?php else: ?>
								<tr>
									<td>
										<a class='easyui-linkbutton' plain='true' iconCls='icon-standard-house-go' href='#' onclick='login_show()'><font style="color:#0E2D5F">登录系统</font></a>

									</td>
								</tr>
								<tr>

									<td>
										<a class='easyui-linkbutton' plain='true' iconCls='icon-standard-user-add' href='#' onclick='regedit_show()'><font style="color:#0E2D5F">注册账户</font></a>

									</td>

								</tr><?php endif; ?>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>

</div>
<script type="text/javascript">
	function loginout_show(){    
	$('#loginout').window('open');  // open a window   
}
/**
 * [loginout 退出登录实现]
 * @return {[type]} [description]
 */
function loginout(){
	$('#loginoutForm').form('submit',{
			url:'/degs/index.php/Admin/Login/logout',
			success:function(data){
				var data = eval('(' + data + ')');
				if(data.status==1){
					$('#loginout').dialog('close');
					$.messager.alert('登出', data.mes, 'info');
					window.location.reload();
				}else{
					$.messager.alert('登出', data.mes, 'info');
				}
			}
		});
	}
//修改密码
function changePW_show(){    
	$('#changePW').window('open');  // open a window   
}
	//更改密码
function changePW(){
if($('#xpassword1').val()!=$('#xpassword2').val()){
	$.messager.alert("密码不正确", "两次输入的新密码不一样！", "info");
}else{
		$('#changePWForm').form('submit',{
			
			url:'/degs/index.php/Admin/Login/changepw',
			success:function(data){
				var data = eval('(' + data + ')');
				if(data.status==1){
					$.messager.alert('修改密码', data.mes, 'info');
					$('#changePW').dialog('close');	
				}else{
					$.messager.alert('修改密码', data.mes, 'info');
				}			
			}
		});
}

	}
//
function login_show(){    
	$('#login').window('open');  // open a window   
}
function login(){
$('#loginForm').form('submit',{
		url:'/degs/index.php/Admin/Login/checkLogin',
		success:function(data){
		var data = eval('(' + data + ')');
		if(data.status==1){
			$.messager.alert('登录', data, data.mes);
		}else{
			$.messager.alert('登录失败', data, data.mes);
		}
		
		$('#login').dialog('close');

		window.location.reload(); 
		
		}
	});
	
	}
function regedit_show(){    

	$('#regedit').window('open');  // open a window   
}
/**
 * [showUser 显示用户页面tab]
 * @return {[type]} [description]
 */
function showUser(){


var id="<?php echo ($_SESSION[ 'uid']); ?>";

if(id!='' & id!=107){

    if ($('#tab').tabs('exists', '用户信息')){
                    $('#tab').tabs('select', '用户信息');    
                } else {
  	$('#tab').tabs('add',{ 
    title:'用户信息', 
    iconCls:'icon-standard-zoom',  
    fit:true,
    href:APP+'/Admin/User/info',
    loadingMessage:'用户信息正在载进中…',
    closable:true  
});

    }



}else{
$.messager.alert('错误', '没有登录，无法获取用户信息！', 'info');
}
}








</script>
 
    <div data-options="region:'west',title:'※ 欢迎您使用本系统 ※',split:true,hideCollapsedContent:false" style="width: 210px;">
    <div id="layout_west_accordion" class="easyui-accordion" data-options="fit:true,border:false">
        <!-- 搜索菜单 -->
         <!-- <div title="搜索菜单" data-options="iconCls:'icon-search',collapsed:false,collapsible:false" style="padding: 10px;">  
            <input id="layout_west_sc" class="easyui-searchbox" data-options="prompt:'请输入你需要的菜单'" name="layout_west_sc" style="width: 180px; height: 25px;">  
        </div>  -->

	</div>
</div>
<script>
    
   $(function() { 
    if('<?php echo ($zdsopen); ?>'=='on'){
           $('#tab').tabs('add',{ 
    title:'作业指导书浏览', 
    iconCls:'icon-standard-zoom',  
    fit:true,
    href:APP+'/Home/Zds/view?index='+'hq'+'&id='+encodeURI('<?php echo ($zdsid); ?>')+'&dwdh='+encodeURI('<?php echo ($dwdh); ?>')+'&name='+encodeURI('<?php echo ($name); ?>'),
    loadingMessage:'作业指导书浏览正在载进中…',
    closable:true  
});

// var tab = $('#tab').tabs('getSelected'); 
// //encodeURI() 函数可把字符串作为 URI 进行编码

//     tab.panel('refresh', APP+'/Home/Zds/view?index='+'hq'+'&id='+encodeURI('<?php echo ($zdsid); ?>')+'&dwdh='+encodeURI('<?php echo ($dwdh); ?>')+'&name='+encodeURI('<?php echo ($name); ?>'));
    }




$('#tab').tabs({
  onBeforeClose: function(title){
        // 如果VIN计算，全屏
if(title=='VIN码计算' || title=='质量信息记录'){
   $('#mainLay').layout('expand','west'); 
   // $('#mainLay').layout('expand','north'); 
}
  }
});






        $.ajax({  
            type : 'POST',  
            dataType : "json",  
            url : '/degs/index.php/Admin/Public/menulist',  
            success : function(data) {  
                $.each(data, function(i, n) {
                    if (i == 0) {
                        $('#layout_west_accordion').accordion('add', {  
                            title : n.text,  
                            iconCls : n.icon,  
                            selected : true,  
                            content : '<div style="padding:10px"><ul name="'+n.text+'"></ul></div>' 
                        });  
                    } else {  
                        $('#layout_west_accordion').accordion('add', {  
                            title : n.text,  
                            iconCls : n.icon,  
                            selected : false,  
                            content : '<div style="padding:10px"><ul name="'+n.text+'"></ul></div>'  
                        });  
                    }  
  
                });  
            }  
        }); 


           //异步加载子节点，即二级菜单  
        $('#layout_west_accordion').accordion({  
            onSelect : function(title, index) {  
              $("ul[name='" + title + "']").tree({  
                    url : '/degs/index.php/Admin/Public/se_menulist',  
                    queryParams : {  
                        text : title  
                    },  
                    animate : true,  
                    lines : true,//显示虚线效果    
                    onClick: function(node){
                        if(node.name){
                            addTab(node);
                        }
                    }
 
                });
            }  
        }); 
    });  
function addTab(node){

    // 如果VIN计算，全屏
if(node.name=='Home/Vin/cal' || node.name=='Home/Zhiliang/index'){
   $('#mainLay').layout('collapse','west'); 
   // $('#mainLay').layout('collapse','north'); 
}



    if ($('#tab').tabs('exists', node.text)){
                    $('#tab').tabs('select', node.text);    
                } else {
    $('#tab').tabs('add',{ 
    title:node.text, 
    iconCls:node.iconCls,  
    fit:true,
    href:'/degs/index.php/'+node.name,
    loadingMessage:node.text+'正在载进中…',
    closable:true  
});
    }



}




$('#layout_west_sc').searchbox({ 

searcher:function(value,name){ 
     var str=$('#layout_west_accordion').accordion('panels');
    // console.log(str);


var s=$('#layout_west_accordion').accordion('getPanel',value); 
if(s){
    $('#layout_west_accordion').accordion('select',value); 
}

} 

});
</script>


	
 
         <div data-options="region:'center',title:''"  style="padding: 0px; background: #eee;">
	    <div id="tab" class="easyui-tabs" data-options="fit:true,border:false">
			<div title='主页' style="padding: 10px" data-options="iconCls:'icon-standard-house'">
	               <table width="90%" border="0" cellspacing="10">
  <tr>
    <td align="left" valign="top">
	<div id="p1" class="easyui-panel" title="系统信息"    
        style="width:400px;padding:0px;background:#fafafa;"  
        data-options="iconCls:'icon-standard-application-home',closable:false,   
                collapsible:true,minimizable:false,maximizable:false">  
			
				<div class="demo-info">
		<div class="demo-tip icon-tip"></div>
		<div><b>欢迎使用<?php echo (C("APPNAME")); ?></b></div><br/>
		
		 <div class='smwd'>版本：<?php echo (C("APPVERSION")); ?></div>		 
    <div class='smwd'>功能：<?php echo (C("APPFUNCTION")); ?></div>
         <!-- <div class='smwd'><b>1.1.0更新内容:</b> </div>
         <div class='smwd'>    1、装配问题记录：在查看页面增加了回复功能；</div>
         <div class='smwd'>    2、装配问题记录：在查看页面增加上一页、下一页导航功能；</div>
         <div class='smwd'>    3、更改单管理：新建分派处理人对话框，避免逻辑错误；</div>
         <div class='smwd'>   4、装配问题记录：修改回复功能，修改程序设计漏洞；</div>
         <div class='smwd'>   5、装配问题记录：增加了基线号的匹配，方便PLM查询；</div>
      <div class='smwd'> <b>1.1.1更新内容:</b> </div>
          <div class='smwd'>   1、增加数据维护：MES数据的导入、查询功能；</div>
          <div class='smwd'>   2、导出服务记录增加筛选功能；</div>
          <div class='smwd'>   3、修正了已处理设计更改单在IE浏览器下背景色为白色的漏洞；</div>
          <div class='smwd'>   3、修正了回复为“浏览者”的漏洞；</div>

                   <div class='smwd'>功能：<?php echo (C("APPFUNCTION")); ?></div>
         <div class='smwd'><b>1.1.0更新内容:</b> </div>
         <div class='smwd'>    1、装配问题记录：在查看页面增加了回复功能；</div>
         <div class='smwd'>    2、装配问题记录：在查看页面增加上一页、下一页导航功能；</div>
         <div class='smwd'>    3、更改单管理：新建分派处理人对话框，避免逻辑错误；</div>
         <div class='smwd'>   4、装配问题记录：修改回复功能，修改程序设计漏洞；</div>
         <div class='smwd'>   5、装配问题记录：增加了基线号的匹配，方便PLM查询；</div>
      <div class='smwd'> <b>1.1.1更新内容:</b> </div>
          <div class='smwd'>   1、增加数据维护：MES数据的导入、查询功能；</div>
          <div class='smwd'>   2、导出服务记录增加筛选功能；</div>
          <div class='smwd'>   3、修正了已处理设计更改单在IE浏览器下背景色为白色的漏洞；</div>
          <div class='smwd'>   3、修正了回复为“浏览者”的漏洞；</div>

                   <div class='smwd'>功能：<?php echo (C("APPFUNCTION")); ?></div>
         <div class='smwd'><b>1.1.0更新内容:</b> </div>
         <div class='smwd'>    1、装配问题记录：在查看页面增加了回复功能；</div>
         <div class='smwd'>    2、装配问题记录：在查看页面增加上一页、下一页导航功能；</div>
         <div class='smwd'>    3、更改单管理：新建分派处理人对话框，避免逻辑错误；</div>
         <div class='smwd'>   4、装配问题记录：修改回复功能，修改程序设计漏洞；</div>
         <div class='smwd'>   5、装配问题记录：增加了基线号的匹配，方便PLM查询；</div>
      <div class='smwd'> <b>1.1.1更新内容:</b> </div>
          <div class='smwd'>   1、增加数据维护：MES数据的导入、查询功能；</div>
          <div class='smwd'>   2、导出服务记录增加筛选功能；</div>
          <div class='smwd'>   3、修正了已处理设计更改单在IE浏览器下背景色为白色的漏洞；</div>
          <div class='smwd'>   3、修正了回复为“浏览者”的漏洞；</div> -->
     
	</div>	
			
 

 
</div>
	<br/>
	<div id="p2" class="easyui-panel" title="使用说明"    
        style="width:400px;padding:0px;background:#fafafa;"  
        data-options="iconCls:'icon-standard-application-home',closable:false,   
                collapsible:true,minimizable:false,maximizable:false">

<div class="demo-info">
    <div class="demo-tip icon-tip"></div>
    <div><b>使用本站前请认真阅读以下说明</b></div>
    <br/>
    <li class='smwd'>使用本系统，请注意遵守公司保密规定；</li>
    <li class='smwd'>请不要使用本系统发布与工艺管理无关的信息；</li>
    <li class='smwd'>问题及建议请联系：<b><a href="#" onclick="fjp203()" style="text-decoration:none;color:#8F5700;">范建鹏</a></b>，029-83388352;</li>
    <li class='smwd'>工艺员登录，即可记录、回复装配问题；</li>
    <li class='smwd'>工艺主管可以对设计更改单、装配问题问题进行管理；</li>
    <li class='smwd'>管理员用户可对整站进行管理；</li>
</div>

 

 	
</div>
	<br>
  <div id="p4" class="easyui-panel" title="友情链接"    
        style="width:400px;padding:0px;background:#fafafa;"  
        data-options="iconCls:'icon-standard-world-link',closable:false,      
                   collapsible:true,minimizable:false,maximizable:false">
           
              <div class="demo-info">
  
     <table width="90%" border="0" cellspacing="10">
     
      <!--   <tr>
          <td><a href="http://192.168.8.200/tzcgyw" target="_blank"><img src="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-standard/16x16/report-magnify.png" class="linkicon"/>&nbsp;陕汽乌海专用汽车有限公司工艺网</a></td>
         <td><a href="http://192.168.8.200/syb/" target="_blank"><img src="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-standard/16x16/feed.png" class="linkicon" />&nbsp;事业部信息管理平台</a></td>
          <td>&nbsp;</td>
        </tr> -->
           <tr>
     
          <td valign="middle" width="188"><a href="http://172.16.2.8/" target="_blank"><img src="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-standard/16x16/email-open.png" class="linkicon" />&nbsp;陕汽邮箱</a></td>
       
       
          <td><a href="http://plm.sxqc.com/Windchill/" target="_blank"><img src="/degs/Public/{$Think.config.SYS_EASYUI}/themes/icons/icon-standard/16x16/note-edit.png" class="linkicon" />&nbsp;PLM</a></td>
        </tr>
      </table>
  </div>   
 
    </div>

	</td>
<td rowspan="2" align="left" valign="top">
    <div id="gPg" class="easyui-panel" title="数据统计"    
        style="width:520px;padding:0px;background:#fafafa;overflow:hidden;;"  
        data-options="iconCls:'icon-standard-world-link',closable:false,      
                   collapsible:true,minimizable:false,maximizable:false">
         <!--显示公告-->
  
           <table  id="sysInfoData" border="0"></table>
    </div>
    <br/>
    <div id="version" class="easyui-panel" title="版本更新信息"    style="width:520px;padding:0px;height:260px;background:#fafafa;overflow:auto;;"  data-options="iconCls:'icon-standard-application-view-gallery',closable:false,collapsible:true,minimizable:false,maximizable:false">
            	<div class="demo-info" style="height:300px;">
              <div class="demo-tip icon-tip"></div>
              <div><b>更新信息1</b></div>
		       <!--       <div class='smwd'><b>1.1.0更新内容:</b> </div>
         <div class='smwd'>    1、装配问题记录：在查看页面增加了回复功能；</div>
         <div class='smwd'>    2、装配问题记录：在查看页面增加上一页、下一页导航功能；</div>
         <div class='smwd'>    3、更改单管理：新建分派处理人对话框，避免逻辑错误；</div>
         <div class='smwd'>   4、装配问题记录：修改回复功能，修改程序设计漏洞；</div>
         <div class='smwd'>   5、装配问题记录：增加了基线号的匹配，方便PLM查询；</div>
      <div class='smwd'> <b>2.0.1更新内容:（主要更新：重写了权限系统，权限细化到每个操作）</b> </div> -->
       
          <div class='smwd'>   1、增加数据维护：MES数据的导入、查询功能；</div>
          <div class='smwd'>   2、导出服务记录增加筛选功能；</div>
          <div class='smwd'>   3、修正了已处理设计更改单在IE浏览器下背景色为白色的漏洞；</div>
          <div class='smwd'>   4、修正了回复为“浏览者”的漏洞；</div>
          <div class='smwd'>   5、修正了IE下随车发运清单无法显示的问题；</div>
          <div class='smwd'>   6、修正了一个计生号多个批次出现的流水号匹配错误问题；</div>
          <div class='smwd'>   7、增加了装配问题分组字段；</div>
          <div class='smwd'>   8、修正了增加了装配问题分组字段后的搜索问题；</div>
                    <div class='smwd'>   9、2017年11月6日：增加管子列表模块。</div>
                    <div class='smwd'>   10、2018年3月28日，历时3个月，完成作业<b>指导书模块</b>。</div>
                    <div class='smwd'>   11、2018年4月10日：感谢<b>魏佳佳</b>测试出作业指导书编号生成漏洞，此漏洞现已经修复！</div>
                    <div class='smwd'>   12、2018年4月15日：<b>质量信息模块</b>开发测试完成。</div>
                    <div class='smwd'>   13、2018年4月28日：扩展了VIN码计算算法，加入了<b>机械环保代码</b>的计算。</div>

              </div>
  </div>
    <br/>
    <div id="gPg" class="easyui-panel" title="使用建议"    style="width:520px;padding:0px;background:#fafafa;overflow:hidden;;"  data-options="iconCls:'icon-standard-application-view-gallery',closable:false,collapsible:true,minimizable:false,maximizable:false">
              <div class="demo-info">
                <div class="demo-tip icon-tip"></div>       
                   强烈建议使用 
                   <a href="<?php echo (C("APPURL")); ?>/Public/upload/llq/360se9.1.0.410.exe" target="_blank"><img src="/degs/Public/images/360brow.png"  class="linkicon" />&nbsp;360浏览器</a>
                    或者
                   <a href="<?php echo (C("APPURL")); ?>/Public/upload/llq/chrome.exe" target="_blank"><img src="/degs/Public/images/chrome.png" class="linkicon" />&nbsp;Chorme</a> 系列浏览器浏览本网站系统。</p>
              </div>
      </div>

       </td>
  </tr>
 
  
</table>
 <script type="text/javascript" charset="utf-8">
$('#sysInfoData').datagrid({   
    url: '/degs/index.php/Home/Index/sysInfoData',
    height: 200,	
		nowrap: false,
		autoRowHeight: false,
		striped: true,
		collapsible: true,
		fitColumns: true,
		pagination: true,
		autoRowHeight: true,
		pageSize: 10,
		pageList: [10, 20, 50],
		striped: true, //交替行
		singleSelect: true, //只允许选择一行
		rownumbers: true,
		// sortName: 'creattime', //根据某个字段给easyUI排序
		sortOrder: 'asc',
		remoteSort: false,
		idField: 'creattime',
    columns:[[   
        {field:'mc',title:'名称',width:100,align:'right'},
        {field:'text',title:'内容',width:315}
    ]]   
});      
  // 加载右下角message提示
  $(function(){ 






          
  $.post('/degs/index.php/Home/Msg/notices',{}, function(data){
              if (data.status==1) {
                // console.log(data.notices);
                var html="您有：";
                for(var i=0;i<data.notices.length;i++){
                  html=html+'<div class="notes">'+data.notices[i].total+'条<a href="#" onclick="'+data.notices[i].onclick+'">'+data.notices[i].lx+'</a>,请注意查收！';
                }

                    $.messager.show({
                      title:'消息提示',
                      msg:html,
                      showType:'show'
                    });
              }
            }, 'json');


          
  $.post('/degs/index.php/Home/Msg/show_msg',{}, function(data){
              if (data.status==1) {
                    $.messager.show({
                      title:'消息提示',
                      msg:'您有'+data.total+'条新的<a href="#" onclick="showmyggd()">'+data.lx+'</a>,请注意查收！',
                      showType:'show'
                    });
              }
            }, 'json');
});


  function showmyggd(){
           if ($('#tab').tabs('exists', '设计更改单管理')){
                $('#tab').tabs('select', '设计更改单管理'); 
            } else {
            var urll='<?php echo u("Home/Ggd/show_Ggd","my_status=1");?>';//质量信息
            // urll='<?php echo u("Home/Ggd/show_Ggd");?>';
      
            $('#tab').tabs('add',{ 
                title:'设计更改单管理', 
                iconCls:'icon-standard-page-white-paint',  
                fit:true,
                href:urll,
                loadingMessage:'设计更改单管理正在载进中…',
                closable:true  
            }); 
    }
  }

       </script> 		
			</div>
		</div>
	 
	</div>   
    <div data-options="region:'south',title:'关于…',split:true,collapsed:true,iconCls:'icon-standard-information',hideCollapsedContent:false " style="height: 100px;">
	<div>
		<p class="Attribute">@ 2015-2080版权所有：<?php echo (C("CONPANY")); ?> 技术科
			<a href="#" onclick="fjp203()">
				<img src="/degs/Public/images/fjp203.png" class="fjpicon" alt="fjp203" />

			</a>

		</p>

		<p class="Attribute">建议使用

			<a href="http://172.16.56.250/tzcgyw/uploadfile/2016/0113/20160113092901598.zip" target="_blank">360浏览器</a> /
			<a href="http://172.16.56.250/tzcgyw/uploadfile/2016/0113/20160113093208123.zip" target="_blank"> 火狐浏览器</a> /

			<a href="http://172.16.56.250/tzcgyw/uploadfile/2016/0113/20160113093114660.zip" target="_blank">Chorme</a> 系列浏览器。</p>
	</div>

</div>

<!--作者介绍窗口-->
<div id="fjp_info" class="easyui-dialog" style="width:220px;height:280px;padding:2px 10px;" title="&nbsp;&nbsp;作者介绍" data-options="iconCls:'icon-standard-user-suit',buttons:'#dlg-buttons',closed:true,resizable:false,modal:false,closable:true">

	<table border="0">
		<tr>
			<td colspan="2" style="text-align:center;padding: 20px 10px 10px 10px;">
				<img src="/degs/Public/images/me.jpg" class="account-avator-bg" onclick="funy()" />
			</td>
		</tr>
		<tr>
			<td width="53">姓名</td>
			<td width="137"><?php echo (C("AUTHOR")); ?></td>
		</tr>
		<tr>
			<td>科室</td>
			<td>工艺科</td>
		</tr>
		<tr>
			<td>电话</td>
			<td><?php echo (C("PHONE")); ?></td>
		</tr>
	</table>

</div>
<div id="dlg-buttons">
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="javascript:$('#fjp_info').dialog('close')">确定</a>
</div>
<script type="text/javascript">
	function fjp203() {
		$("#fjp_info").dialog("open").dialog('setTitle', '&nbsp;&nbsp;作者介绍');
	}
	function funy(){
		alert('没有用的,你那忧郁的眼神,唏嘘的胡渣子。都深深地迷住了我。');
	}
</script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--登录窗口-->
<style>
	.regedituser{
		color: #0E2D5F;
	}
</style>

<div id="login" class="easyui-dialog" style="width:346px;height:220px;padding:2px 10px;" title="&nbsp;&nbsp;登录" data-options="iconCls:'icon-standard-house-go',buttons:'#dlg-buttons',closed:true,resizable:false,modal:false,closable:true">

	<table>
		<tr>
			<td>
				<img title="HustMesWeb" border="0" width="150" alt="http://fjpfly.vipsinaapp.com/" src="/degs/Public/images/logo.png">

			</td>
			<td style="background-image: url(/degs/Public/images/big_seperator.png);background-repeat: no-repeat;width: 8px;height: 138px;background-position: center center;"></td>
			<td>
				<form id="loginForm" method="post">
					<table>
						<tr height="30px">
							<td style="color:#B083E4">用户名:</td>
							<td>
								<input type="text" name="username" class="easyui-validatebox validatebox-text" data-options="required:true" value="" style="width:100px;" />
							</td>
						</tr>

						<tr height="30px">
							<td style="color:#B083E4">密码:</td>
							<td>
								<input type="password" class="easyui-validatebox validatebox-text" data-options="required:true" value="" name="password" style="width:100px;" />
							</td>
						</tr>

					</table>
				</form>

			</td>
		</tr>
	</table>

</div>
<div id="dlg-buttons">
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="login()">登录</a>
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#login').dialog('close')">取消</a>
</div>

<!--退出窗口-->
<div id="loginout" class="easyui-dialog" style="width:340px;height:120px;padding:10px 10px;" title="退出" data-options="iconCls:'icon-login',buttons:'#dlgout-buttons',closed:true,resizable:true,modal:true,closable:false">
	<form id="loginoutForm" method="post">
	</form>
	确认要退出吗？

</div>
<div id="dlgout-buttons">
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="loginout()">确认</a>
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#loginout').dialog('close')">取消</a>
</div>

<!--更改密码窗口-->
<div id="changePW" class="easyui-dialog" style="width:380px;height:220px;padding:30px 30px;" title="修改密码" data-options="iconCls:'icon-standard-lock-edit',buttons:'#dlg-buttons',closed:true,resizable:false,modal:true,closable:false">

	<form id="changePWForm" method="post">
		<table>
			<tr>
				<td>原密码:</td>
				<td>
				<input type="hidden" name="id" value="<?php echo ($_SESSION['uid']); ?>" />
					<input type="password" class="easyui-textbox" data-options="required:true,prompt:'请输入原密码…'" value="" id="ypassword" name="ypassword" style="width:200px;" />
				</td>
			</tr>

			<tr>
				<td>新密码:</td>
				<td>
					<input type="password" class="easyui-textbox" data-options="required:true,prompt:'请输入新密码…'" value="" id="xpassword1" name="xpassword1" style="width:200px;" />
				</td>
			</tr>
			<tr>
				<td>再次输入新密码:</td>
				<td>
					<input type="password" class="easyui-textbox" data-options="required:true,prompt:'请再次输入新密码…'" value="" id="xpassword2" name="xpassword2" style="width:200px;" />
				</td>
			</tr>

		</table>
	</form>
</div>
<div id="dlg-buttons">
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="changePW()">确认</a>
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#changePW').dialog('close')">取消</a>
</div>

<!--注册用户 -->
<div id="regedit" class="easyui-dialog"
	style="width: 400px; height:220px; padding: 20px 0px 0px 100px; overflow: hidden;"
	title="&nbsp;&nbsp;注册用户"
	data-options="iconCls:'icon-standard-user-add',buttons:'#dlg_regedit',closed:true,resizable:true,modal:true,closable:true">


	<form id="regedit_form"  method="post" >
		<table class="regedituser">
			<tr>
				<td style="width:80px;">
					<label  for="laiyuan">用户名:</label>
				</td>
				<td>
					<input id="username" name="username" type="text"   style="width: 120px;" />
				</td>
			</tr>
			<tr>
				<td>
					<label for="laiyuan">用户组:</label>
				</td>
				<td>

					<select id="group_id" class="easyui-combobox" name="group_id"
						data-options="editable:false,panelHeight:'auto'"
						style="width: 120px;">


						<option value="2">工艺员</option>
                        <option value="3">浏览者</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>
					<label for="laiyuan">E-Mail:</label>
				</td>
				<td>


					<input id="email" name="email" type="text" style="width: 120px;" />
				</td>
			</tr>



	<!--		<tr>
				<td>
					<label for="laiyuan">状态:</label>
				</td>
				<td>


					<select id="status" class="easyui-combobox" name="status"
						data-options="editable:false,panelHeight:'auto'"
						style="width: 120px;">
						<option value="1">开启</option>
						<option value="0">关闭</option>
					</select>

				</td>
			</tr>-->
			<tr>
				<td>
					<input type="hidden" name="status" id="status" value= "0">
					<label for="laiyuan">密码:</label>
				</td>
				<td>

					<input type="password" id="password" name="password" type="text"
						style="width: 120px;" />
				</td>
			</tr>
			<tr>
				<td>
					<label for="laiyuan">确认密码:</label>
				</td>
				<td>

					<input type="password" id="repassword" name="repassword"
						type="text" style="width: 120px;" />
				</td>
			</tr>

		</table>
	</form>


</div>

<div id="dlg_regedit">
	<a href="#" class="easyui-linkbutton" id="bt_regedit" data-options="iconCls:'icon-ok'">确认</a>
	<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#regedit').dialog('close')">取消</a>
</div>
<script>
		$('#bt_regedit').click(
				function(){
			$('#regedit_form').form('submit',{
					
					url:'/degs/index.php/Home/Index/regedit',

					success:function(data){					
						$.messager.alert('注册用户', data,'info');
						$('#regedit').dialog('close')
						
					}
				});
	})
			
		

</script> 

</body>
</html>